package com.cnhonker.edu.core.dao;

import java.util.List;

/**
 * Created by Apple on 2017/6/9.
 */
public interface IBaseDao {
    Long insert(String sql, Object arg);

    Long delete(String sql, Object arg);

    Long update(String sql, Object arg);

    <T> T selectOne(String sql, Object arg);

    <T> List<T> selectList(String sql, Object arg);
}
